<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tzeentch: Tzeentch.Controler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tzeentch
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_tzeentch.html">Tzeentch</a></li><li class="navelem"><a class="el" href="class_tzeentch_1_1_controler.html">Controler</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_tzeentch_1_1_controler-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Tzeentch.Controler Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1df64e80aa2b2bbda709878ccefb7311"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a1df64e80aa2b2bbda709878ccefb7311">Controler</a> (<a class="el" href="class_tzeentch_1_1_g_u_i.html">GUI</a> gui)</td></tr>
<tr class="memdesc:a1df64e80aa2b2bbda709878ccefb7311"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_tzeentch_1_1_controler.html">Controler</a> class.  <a href="#a1df64e80aa2b2bbda709878ccefb7311"></a><br/></td></tr>
<tr class="separator:a1df64e80aa2b2bbda709878ccefb7311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b1feaa76143091a930dda136a2cf9ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a1b1feaa76143091a930dda136a2cf9ab">Initialise</a> ()</td></tr>
<tr class="memdesc:a1b1feaa76143091a930dda136a2cf9ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialises this instance.  <a href="#a1b1feaa76143091a930dda136a2cf9ab"></a><br/></td></tr>
<tr class="separator:a1b1feaa76143091a930dda136a2cf9ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a854ec3cde5de963f80c905ac24f1748d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a854ec3cde5de963f80c905ac24f1748d">SetupGUI</a> ()</td></tr>
<tr class="memdesc:a854ec3cde5de963f80c905ac24f1748d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setups the <a class="el" href="class_tzeentch_1_1_g_u_i.html">GUI</a>.  <a href="#a854ec3cde5de963f80c905ac24f1748d"></a><br/></td></tr>
<tr class="separator:a854ec3cde5de963f80c905ac24f1748d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4328c2bf7ec4c593cfe2a03390461eb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a4328c2bf7ec4c593cfe2a03390461eb2">StopThreads</a> ()</td></tr>
<tr class="memdesc:a4328c2bf7ec4c593cfe2a03390461eb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops the threads.  <a href="#a4328c2bf7ec4c593cfe2a03390461eb2"></a><br/></td></tr>
<tr class="separator:a4328c2bf7ec4c593cfe2a03390461eb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf5efdb01ac01f39cdd4b2ff944d987b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#acf5efdb01ac01f39cdd4b2ff944d987b">MainLoop</a> ()</td></tr>
<tr class="memdesc:acf5efdb01ac01f39cdd4b2ff944d987b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts the main loop.  <a href="#acf5efdb01ac01f39cdd4b2ff944d987b"></a><br/></td></tr>
<tr class="separator:acf5efdb01ac01f39cdd4b2ff944d987b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c2d707b3a91f061ca8082ff321d982"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#aa4c2d707b3a91f061ca8082ff321d982">Cross</a> ()</td></tr>
<tr class="memdesc:aa4c2d707b3a91f061ca8082ff321d982"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cross members of populations with highest fitness factor.  <a href="#aa4c2d707b3a91f061ca8082ff321d982"></a><br/></td></tr>
<tr class="separator:aa4c2d707b3a91f061ca8082ff321d982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b31cdcfeef5fe3efeeb3ace68606f8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a5b31cdcfeef5fe3efeeb3ace68606f8c">Selection</a> ()</td></tr>
<tr class="memdesc:a5b31cdcfeef5fe3efeeb3ace68606f8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies elements that are better fitted then the best one in previous population  <a href="#a5b31cdcfeef5fe3efeeb3ace68606f8c"></a><br/></td></tr>
<tr class="separator:a5b31cdcfeef5fe3efeeb3ace68606f8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6ff12caf0d1ee2f2037d24e06f02c69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#ae6ff12caf0d1ee2f2037d24e06f02c69">MutatePopulation</a> ()</td></tr>
<tr class="memdesc:ae6ff12caf0d1ee2f2037d24e06f02c69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutates the population.  <a href="#ae6ff12caf0d1ee2f2037d24e06f02c69"></a><br/></td></tr>
<tr class="separator:ae6ff12caf0d1ee2f2037d24e06f02c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a822e968fcf77dbef8a0f55f296981be7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a822e968fcf77dbef8a0f55f296981be7">GenerateBitmaps</a> ()</td></tr>
<tr class="memdesc:a822e968fcf77dbef8a0f55f296981be7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates the bitmaps.  <a href="#a822e968fcf77dbef8a0f55f296981be7"></a><br/></td></tr>
<tr class="separator:a822e968fcf77dbef8a0f55f296981be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a22f46d1c3a1cd8462f6cf6dc5270fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a1a22f46d1c3a1cd8462f6cf6dc5270fa">CountFitness</a> ()</td></tr>
<tr class="memdesc:a1a22f46d1c3a1cd8462f6cf6dc5270fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counts the fitness.  <a href="#a1a22f46d1c3a1cd8462f6cf6dc5270fa"></a><br/></td></tr>
<tr class="separator:a1a22f46d1c3a1cd8462f6cf6dc5270fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc12a12d3568260ac086f0915fa3b6a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#acc12a12d3568260ac086f0915fa3b6a7">RefreshGUI</a> (bool onlyProgressBar)</td></tr>
<tr class="memdesc:acc12a12d3568260ac086f0915fa3b6a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Refreshes the <a class="el" href="class_tzeentch_1_1_g_u_i.html">GUI</a>.  <a href="#acc12a12d3568260ac086f0915fa3b6a7"></a><br/></td></tr>
<tr class="separator:acc12a12d3568260ac086f0915fa3b6a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd05fba82b19fbf42293de13984e88c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#abd05fba82b19fbf42293de13984e88c1">CreateNewPopulation</a> ()</td></tr>
<tr class="memdesc:abd05fba82b19fbf42293de13984e88c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the new population.  <a href="#abd05fba82b19fbf42293de13984e88c1"></a><br/></td></tr>
<tr class="separator:abd05fba82b19fbf42293de13984e88c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a1c59cb4e79ab11a517bd1b56d12a2fe0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#a1c59cb4e79ab11a517bd1b56d12a2fe0">NumberOfIterations</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a1c59cb4e79ab11a517bd1b56d12a2fe0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the number of iterations.  <a href="#a1c59cb4e79ab11a517bd1b56d12a2fe0"></a><br/></td></tr>
<tr class="separator:a1c59cb4e79ab11a517bd1b56d12a2fe0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2bb6d6241841a0d8d6ba63e027e1619"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tzeentch_1_1_controler.html#ac2bb6d6241841a0d8d6ba63e027e1619">EnableVisualisation</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac2bb6d6241841a0d8d6ba63e027e1619"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets a value indicating whether visualisation is enabled.  <a href="#ac2bb6d6241841a0d8d6ba63e027e1619"></a><br/></td></tr>
<tr class="separator:ac2bb6d6241841a0d8d6ba63e027e1619"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1df64e80aa2b2bbda709878ccefb7311"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tzeentch.Controler.Controler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_tzeentch_1_1_g_u_i.html">GUI</a>&#160;</td>
          <td class="paramname"><em>gui</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes a new instance of the <a class="el" href="class_tzeentch_1_1_controler.html">Controler</a> class. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gui</td><td>The <a class="el" href="class_tzeentch_1_1_g_u_i.html">GUI</a>.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1a22f46d1c3a1cd8462f6cf6dc5270fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.CountFitness </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counts the fitness. </p>

</div>
</div>
<a class="anchor" id="abd05fba82b19fbf42293de13984e88c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.CreateNewPopulation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates the new population. </p>

</div>
</div>
<a class="anchor" id="aa4c2d707b3a91f061ca8082ff321d982"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.Cross </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cross members of populations with highest fitness factor. </p>

</div>
</div>
<a class="anchor" id="a822e968fcf77dbef8a0f55f296981be7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.GenerateBitmaps </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generates the bitmaps. </p>

</div>
</div>
<a class="anchor" id="a1b1feaa76143091a930dda136a2cf9ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.Initialise </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialises this instance. </p>

</div>
</div>
<a class="anchor" id="acf5efdb01ac01f39cdd4b2ff944d987b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.MainLoop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts the main loop. </p>

</div>
</div>
<a class="anchor" id="ae6ff12caf0d1ee2f2037d24e06f02c69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.MutatePopulation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mutates the population. </p>

</div>
</div>
<a class="anchor" id="acc12a12d3568260ac086f0915fa3b6a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.RefreshGUI </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>onlyProgressBar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Refreshes the <a class="el" href="class_tzeentch_1_1_g_u_i.html">GUI</a>. </p>

</div>
</div>
<a class="anchor" id="a5b31cdcfeef5fe3efeeb3ace68606f8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.Selection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copies elements that are better fitted then the best one in previous population </p>

</div>
</div>
<a class="anchor" id="a854ec3cde5de963f80c905ac24f1748d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.SetupGUI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Setups the <a class="el" href="class_tzeentch_1_1_g_u_i.html">GUI</a>. </p>

</div>
</div>
<a class="anchor" id="a4328c2bf7ec4c593cfe2a03390461eb2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tzeentch.Controler.StopThreads </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops the threads. </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="ac2bb6d6241841a0d8d6ba63e027e1619"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Tzeentch.Controler.EnableVisualisation</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets or sets a value indicating whether visualisation is enabled. </p>
<p><code>true</code> if visualisation is enabled; otherwise, <code>false</code>. </p>

</div>
</div>
<a class="anchor" id="a1c59cb4e79ab11a517bd1b56d12a2fe0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Tzeentch.Controler.NumberOfIterations</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets or sets the number of iterations. </p>
<p>The number of iterations. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>G:/format backup/projekty/Tzeentch/trunk/Tzeentch/Tzeentch/Controler.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Sep 26 2012 20:44:34 for Tzeentch by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.2
</small></address>
</body>
</html>
